export function u8ToBase64(array: Uint8Array): string {
  const output = []
  for (let i = 0; i < array.length; i++) {
    output.push(String.fromCharCode(array[i]))
  }
  return btoa(output.join(''))
}
